package com.interauto.Dao.entity;

import java.util.Date;

/**
 * 监控任务表
 */
public class Runtasktable {
    private Integer id;
    /**
     * 关联的项目ID
     */
    private int projectid;
    /**
     * 任务名称
     */
    private String taskname;
    /**
     * 运行状态。1=运行中，2=暂停
     */
    private int taskstatus;
    /**
     * 运行周期,单位分钟
     */
    private int runcycle;
    /**
     * 关联用例.用,号分隔
     */
    private String caseinfo;
    /**
     * 报警的工号.用,号分隔
     */
    private String callnumber;
    /**
     * 报警的邮箱.用,号分隔。暂时用不着吧
     */
    private String callemail;
    /**
     * 删除状态。0=正常，1=删除
     */
    private int delstatus;
    private Date createtime;
    private Date updatetime;

    public int getProjectid() {
        return projectid;
    }

    public void setProjectid(int projectid) {
        this.projectid = projectid;
    }


    @Override
    public String toString() {
        return "Runtasktable{" +
                "id=" + id +
                ", projectid=" + projectid +
                ", taskname='" + taskname + '\'' +
                ", taskstatus=" + taskstatus +
                ", runcycle=" + runcycle +
                ", caseinfo='" + caseinfo + '\'' +
                ", callnumber='" + callnumber + '\'' +
                ", callemail='" + callemail + '\'' +
                ", delstatus=" + delstatus +
                ", createtime=" + createtime +
                ", updatetime=" + updatetime +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTaskname() {
        return taskname;
    }

    public void setTaskname(String taskname) {
        this.taskname = taskname;
    }

    public int getTaskstatus() {
        return taskstatus;
    }

    public void setTaskstatus(int taskstatus) {
        this.taskstatus = taskstatus;
    }

    public int getRuncycle() {
        return runcycle;
    }

    public void setRuncycle(int runcycle) {
        this.runcycle = runcycle;
    }

    public String getCaseinfo() {
        return caseinfo;
    }

    public void setCaseinfo(String caseinfo) {
        this.caseinfo = caseinfo;
    }

    public String getCallnumber() {
        return callnumber;
    }

    public void setCallnumber(String callnumber) {
        this.callnumber = callnumber;
    }

    public String getCallemail() {
        return callemail;
    }

    public void setCallemail(String callemail) {
        this.callemail = callemail;
    }

    public int getDelstatus() {
        return delstatus;
    }

    public void setDelstatus(int delstatus) {
        this.delstatus = delstatus;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }
}
